#include<iostream>
#include<sys/shm.h>
#include<sys/ipc.h>
int main()
{
    key_t i=ftok("/home/hcc",1000);
    int shmid=shmget(i,1024,IPC_CREAT);
    return 0;
}